package mutsumimod.cards.stand;

import com.megacrit.cardcrawl.actions.common.MakeTempCardInHandAction;
import com.megacrit.cardcrawl.cards.AbstractCard;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.monsters.AbstractMonster;
import mutsumimod.cards.BaseCard;
import mutsumimod.cards.copy.Imagination;
import mutsumimod.character.Mutsumi;
import mutsumimod.powers.BreakPower;
import mutsumimod.util.CardStats;
import mutsumimod.util.tags.CustomTags;

public class NeverHappy extends BaseCard {
    public static final String ID = makeID(NeverHappy.class.getSimpleName());
    public static final CardStats info = new CardStats(
            Mutsumi.Meta.CARD_COLOR,
            CardType.ATTACK,
            CardRarity.COMMON,
            CardTarget.ENEMY,
            1
    );

    public NeverHappy() {
        super(ID, info);
        setAttr(7,0,5);
        setAttrUpg(2,0,2);
        standTag=3;
    }

    @Override
    public void use(AbstractPlayer p, AbstractMonster m) {
        damageMonster(m);
        stand(3,m);
    }

    @Override
    public void standUse3(AbstractPlayer p, AbstractMonster m) {
        applyPowerMonster(new BreakPower(m,magicNumber),m);
    }

    @Override
    public AbstractCard makeCopy() {
        return new NeverHappy();
    }
}
